const order = {
  state: {
    brandListPage: 1,
    barndListName: ''
  },
  mutations: {
    SAVE_BRAND_PAGE: (state, page) => {
      state.brandListPage = page
    },
    SAVE_BRAND_NAME: (state, name) => {
        state.barndListName = name
    },
  },
  actions: {
    saveBrandListPage({
      commit
    }, page) {
      commit('SAVE_BRAND_PAGE', page)
    },
    saveBrandListName({
        commit
    }, name) {
        commit('SAVE_BRAND_NAME', name)
    },
  }
}

export default order